
CFLAGS = -g -Wall -Wextra $(OFLAGS) $(XFLAGS)
OFLAGS = -DDEBUG
PACKCC=./packcc


all : gv

# option --debug to packcc

gv:
	$(PACKCC) --debug  gv.peg
	$(CC) $(CFLAGS) gv.c -o gv
	cat t.gv |./gv

clean :
	rm -f *~ *.o
	rm -v -f gv
	rm -v -f gv.c
	rm -v -f gv.h


